<?

echo "MODIFY MODE :" 	.$_SESSION["modify_mode"]. "<br/>\n";

if($_SESSION["modify_mode"] == "Y"){

	$status_of_write="Modify";
}else{

	$status_of_write="Confirm";
}

require("entry_header_html.php");

/**
* Detail goes here
*
*/
echo  "<table border='1' class='dedeq'>\n".
      "<tr>\n".
      "<th> No    </th>\n".
      "<th> Model </th>\n".
      "<th> Qty   </th>\n".
      "</tr>\n";

for($iRow = 0; $iRow < $_SESSION["init_num"]; $iRow++){

  echo  "<tr>\n".

          "<td> ".($iRow + 1)." </td>\n".

          "<td> ".$GHtml->formInput("composEnt[".$iRow."]",
                                    $_POST["composEnt"][$iRow],
                                    _MODE_READONLY)." </td>\n".

          "<td> ".$GHtml->formInput("qtyEnt[".$iRow."]",
                                    $_POST["qtyEnt"][$iRow],
                                    $Misc->stdProperties().
                                    _MODE_READONLY)." </td>\n".

        "</tr>\n";
}

echo "</table><br/>\n";

echo 	$GHtml->formInputButton("Save",
                              "confirm",
                              "Confirm",
                              $stlButton).

			$GHtml->formInputButton("Back",
                              "back",
                              "Back",
                              $stlButton).

  		"</form>	\n";

?>